<?php
/**
 * Description of Acl
 *
 * @author Nexik
 */
class App_Acl
    extends Zend_Acl
{
    public function __construct()
    {
        // Roles
        $this->addRole(new App_Acl_Role_Guest());
        $this->addRole(new App_Acl_Role_User(), 'guest');

        //Resources
        $this->add(new Zend_Acl_Resource('index'));
     
        //Rules

        $this->allow('guest', 'index', 'index');
    }
    
}